package net.sxjr.mbg.entity;

import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 子系统
 * </p>
 *
 * @author cuixc
 * @since 2020-12-10
 */
public class JbdpApp extends Model<JbdpApp> {

    private static final long serialVersionUID=1L;

    /**
     * 系统代码
     */
    @TableId("APP_CODE")
    private String appCode;

    /**
     * 系统名称
     */
    @TableField("APP_NAME")
    private String appName;

    /**
     * 系统图标
     */
    @TableField("ICON")
    private String icon;

    /**
     * 状态
     */
    @TableField("STATE")
    private Integer state;

    /**
     * 排序
     */
    @TableField("ORDER_NO")
    private Integer orderNo;

    /**
     * URL
     */
    @TableField("URL")
    private String url;

    /**
     * 打开方式
     */
    @TableField("TAGET")
    private String taget;

    /**
     * 是否显示
     */
    @TableField("SHOW_FLAG")
    private Integer showFlag;


    public String getAppCode() {
        return appCode;
    }

    public JbdpApp setAppCode(String appCode) {
        this.appCode = appCode;
        return this;
    }

    public String getAppName() {
        return appName;
    }

    public JbdpApp setAppName(String appName) {
        this.appName = appName;
        return this;
    }

    public String getIcon() {
        return icon;
    }

    public JbdpApp setIcon(String icon) {
        this.icon = icon;
        return this;
    }

    public Integer getState() {
        return state;
    }

    public JbdpApp setState(Integer state) {
        this.state = state;
        return this;
    }

    public Integer getOrderNo() {
        return orderNo;
    }

    public JbdpApp setOrderNo(Integer orderNo) {
        this.orderNo = orderNo;
        return this;
    }

    public String getUrl() {
        return url;
    }

    public JbdpApp setUrl(String url) {
        this.url = url;
        return this;
    }

    public String getTaget() {
        return taget;
    }

    public JbdpApp setTaget(String taget) {
        this.taget = taget;
        return this;
    }

    public Integer getShowFlag() {
        return showFlag;
    }

    public JbdpApp setShowFlag(Integer showFlag) {
        this.showFlag = showFlag;
        return this;
    }

    @Override
    protected Serializable pkVal() {
        return this.appCode;
    }

    @Override
    public String toString() {
        return "JbdpApp{" +
        "appCode=" + appCode +
        ", appName=" + appName +
        ", icon=" + icon +
        ", state=" + state +
        ", orderNo=" + orderNo +
        ", url=" + url +
        ", taget=" + taget +
        ", showFlag=" + showFlag +
        "}";
    }
}
